﻿<!-- zhouxiang www.zhou-xiang.com -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>uploadPreview演示</title>
    <script src="/static/js/uploadPreview.js" type="text/javascript"></script>
    <script>
        window.onload = function () {
            new uploadPreview({ UpBtn: "up_img", DivShow: "imgdiv", ImgShow: "imgShow" });
        }
    </script>
</head>
<body>
<form action="/upload/do_upload" method="post" enctype="multipart/form-data">
    <select name='select' class='s8'>
        <option value=''>— 请选择 —</option>?
        <optgroup label='情感'></optgroup>
        <option value='3'>  励志</option>
        <option value='4'>  伤感</option>
        <option value='5'>  感悟</option>
        <option value='6'>  生活</option>
        <option value='7'>  成长</option>
        <option value='8'>  友情</option>
        <option value='9'>  爱情</option>
        <optgroup label='专题'></optgroup><option value='2'>  专题</option>
        <option value='10'>  春暖花开</option>
        <option value='11'>  从你的世界路过</option>
        <option value='12'>  一年热词回顾</option>
        <option value='13'>  陪伴</option>
        <option value='14'>  禅心</option>
        <option value='15'>  红包专题</option>
        <option value='16'>  旅行</option>
    </select>
    <input id="is_best" type="checkbox" name="checkbox" value="1"> 精选
    <div id="imgdiv"><img id="imgShow" width="300" height="300" src="/static/images/7.jpg"" /></div>
    <input type="file" id="up_img" name="userfile" size="20" />
    <input type="submit" value="保存" />
    <button type="button">取消</button>
</form>
</body>
</html>
